package com.example.gateway.designPattern.strategy;

/**
 * @ClassName: SubstractStrategy
 * @Description:
 * @Author: YourName
 * @Date: 2024/12/31
 */

public class SubstractStrategy implements Strategy{
    @Override
    public void calc(int a, int b) {
        System.out.println(a-b);
    }
}
